<div class="devui-demo-container" dAnchorBox dAnchorHashSupport [view]="{ top: 180, bottom: 0 }">
  <d-demo-nav [navItems]="navItems"></d-demo-nav>

  <div class="devui-demo-example" [dAnchor]="'checkbox-basic'">
    <div class="devui-demo-title">{{ 'components.checkbox.basicDemo.title' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="components-checkbox-basic" [sourceData]="checkboxDemoBasic">
      <d-demo-checkbox-basic demo></d-demo-checkbox-basic>
    </d-codebox>
  </div>

  <div class="devui-demo-example" [dAnchor]="'tabs-group'">
    <div class="devui-demo-title">{{ 'components.checkbox.groupDemo.title' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="components-tabs-group" [sourceData]="checkboxDemoGroup">
      <d-checkbox-group-basic demo></d-checkbox-group-basic>
    </d-codebox>
  </div>

  <div class="devui-demo-example" [dAnchor]="'condition-change'">
    <div class="devui-demo-title">{{ 'components.checkbox.conditionChangeDemo.title' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.checkbox.conditionChangeDemo.description' | translate }}</div>
    <d-codebox id="components-condition-change" [sourceData]="conditionChangeSource">
      <d-demo-condition-change demo></d-demo-condition-change>
    </d-codebox>
  </div>

  <div class="devui-demo-example" [dAnchor]="'condition-group'">
    <div class="devui-demo-title">{{ 'components.checkbox.conditionGroupDemo.title' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.checkbox.conditionGroupDemo.description' | translate }}</div>
    <d-codebox id="components-condition-group" [sourceData]="conditionGroupSource">
      <d-checkbox-condition-group demo></d-checkbox-condition-group>
    </d-codebox>
  </div>
</div>
